package id2210.simulator.core;

import se.sics.kompics.Init;
import se.sics.kompics.address.Address;
import se.sics.kompics.p2p.bootstrap.BootstrapConfiguration;

import id2210.system.peer.aggregation.AggregationConfiguration;
import id2210.system.peer.cyclon.CyclonConfiguration;

public final class SimulatorInit extends Init {
	private final Address peer0Address;
	private final BootstrapConfiguration bootstrapConfiguration;
	private final CyclonConfiguration cyclonConfiguration;
	private final AggregationConfiguration aggregationConfiguration;
	
//-------------------------------------------------------------------	
	public SimulatorInit(Address peer0Address, BootstrapConfiguration bootstrapConfiguration, CyclonConfiguration cyclonConfiguration, AggregationConfiguration aggregationConfiguration) {
		super();
		this.bootstrapConfiguration = bootstrapConfiguration;
		this.cyclonConfiguration = cyclonConfiguration;
		this.aggregationConfiguration = aggregationConfiguration;
		this.peer0Address = peer0Address;
	}

//-------------------------------------------------------------------	
	public BootstrapConfiguration getBootstrapConfiguration() {
		return this.bootstrapConfiguration;
	}

//-------------------------------------------------------------------	
	public CyclonConfiguration getCyclonConfiguration() {
		return this.cyclonConfiguration;
	}

//-------------------------------------------------------------------	
	public AggregationConfiguration getAggregationConfiguration() {
		return this.aggregationConfiguration;
	}

//-------------------------------------------------------------------	
	public Address getPeer0Address() {
		return this.peer0Address;
	}
}
